package com.baizhi.mapper;

import com.baizhi.entity.Record;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RecordMapper {
    void insertRecord(Record record);
    void deleteById(int id);
    void updateRecord(Record record);
    Record selectById(int id);
    List<Record> selectAll(@Param("pageNum")int pageNum, @Param("pageSize")int pageSize);
}
